package com.zjitc.model;

import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/19 14:47
 * @description:
 */
public class CategorySecond {
  private Integer csid;
  private String csname;
  private Category category;

  @Override
  public String toString() {
    return "CategorySecond{" +
        "csid=" + csid +
        ", csname='" + csname + '\'' +
        ", category=" + category +
        ", productList=" + productList +
        '}';
  }

  public Integer getCsid() {
    return csid;
  }

  public void setCsid(Integer csid) {
    this.csid = csid;
  }

  public String getCsname() {
    return csname;
  }

  public void setCsname(String csname) {
    this.csname = csname;
  }

  public Category getCategory() {
    return category;
  }

  public void setCategory(Category category) {
    this.category = category;
  }

  public List<Product> getProductList() {
    return productList;
  }

  public void setProductList(List<Product> productList) {
    this.productList = productList;
  }

  public CategorySecond(Integer csid, String csname, Category category,
      List<Product> productList) {
    this.csid = csid;
    this.csname = csname;
    this.category = category;
    this.productList = productList;
  }

  public CategorySecond() {
  }

  private List<Product> productList;
}
